Inspections not finding cshtml in a Web Site project.
TeamCity inspections is not finding my cshtml files. It fails with "No files to inspect were found." Probably because my project is a Web Site project.
I do get R# inspections just fine through Visual Studio.
How can I make build server inspections find my cshtml files?
My sln file looks like this:
# Visual Studio 2010
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "localhost", "http://localhost:27598", "{10C70800-62AD-4900-B123-142B9F4F66FA}"
ProjectSection(WebsiteProperties) = preProject
UseIISExpress = "true"
TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.0"
Debug.AspNetCompiler.VirtualPath = "/localhost_27598"
Debug.AspNetCompiler.PhysicalPath = "Iris\"
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_27598\"
Debug.AspNetCompiler.Updateable = "true"
Debug.AspNetCompiler.ForceOverwrite = "true"
Debug.AspNetCompiler.FixedNames = "false"
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.VirtualPath = "/localhost_27598"
Release.AspNetCompiler.PhysicalPath = "Iris\"
Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_27598\"
Release.AspNetCompiler.Updateable = "true"
Release.AspNetCompiler.ForceOverwrite = "true"
Release.AspNetCompiler.FixedNames = "false"
Release.AspNetCompiler.Debug = "False"
SlnRelativePath = "Iris\"
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{10C70800-62AD-4900-B123-142B9F4F66FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{10C70800-62AD-4900-B123-142B9F4F66FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
Thanks,
Josh
Please sign in to leave a comment.
JetBrains, could somebody answer this for me? Thanks, Josh
Sorry for the delay in reply,
I highly recommend to try new version of .NET inspections available in 8.0 EAP. We made number of related fixes in that version.
If it is not applicable for you to upgrade your TeamCity server now you could try .NET cmd tools released with ReSharper 8.0 EAP. Here is a nice blog post about this new tool.
Thank you.