KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've got a web deployment project that builds and zips a web application project. I am getting a lot of errors when I build the WDP, as follows: Error 73 The file '/Foo.csproj/Properties/Administration/Modules/ACL.ascx' does not exist. /Foo.csproj/Properties/Administration/ACL.aspx Error 74 Unknown server tag 'foo:ACL'. /Foo.csproj/Properties/Administration/ACL.aspx These errors are coming from the Web Deployment Project, not the WAP. The errors always follow the same pattern, first there is an error finding the .ascx and then an associated error saying the server tag related to the previous ascx is unknown (this obviously makes sense). There are no errors or warnings in the ascx or aspx. The controls are registered using a <%@ Register %> tag (as opposed to being registered in the web.config) What could be causing such a symptom? UPDATE The errors are coming from aspnet_compiler.exe which is run with the following command: C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -v "/Foo.csproj" -p "C:\Projects\Foo\Foo" -u -f -d obj\Staging\TempBuildDir and produces the following errors Utility to precompile an ASP.NET application Copyright (C) Microsoft Corporation. All rights reserved. /Foo.csproj/Properties/Administration/ACL.aspx(5): error ASPPARSE: The file '/Foo.csproj/Properties/Administration/Modules/ACL.ascx' does not exist. /Foo.csproj/Properties/Administration/ACL.aspx(7): error ASPPARSE: Unknown server tag 'foo:ACL'. in Foo.csproj ACL.aspx is declared as <Content Include="Administration\ACL.aspx" /> <!-- Snip --> <Compile Include="Administration\ACL.aspx.cs"> <DependentUpon>ACL.aspx</DependentUpon> <SubType
Tags (comma-separated)
Save Edits
Cancel