A
Andrey Belyakov
Guest
Hello Folks,
Today problem.
I have a several projects in one solution.
One of the projects is web-site. Project type is :
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
Pages are mixed - VB and C#.
New pages are added from another (production) server - there just IIS running. Pages came without *.aspx.designers.vb file.
I do add a *.aspx.designer.vb into the folder, but as reference to the file put a reference to *.aspx.designer.cs.
Error was found, project unloaded and corrected.
<ItemGroup>
<Content Include="productionCheck.aspx" />
<Content Include="productionCheck.aspx.vb">
<DependentUpon>productionCheck.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Content>
<Compile Include="productionCheck.aspx.designer.vb">
<DependentUpon>productionCheck.aspx</DependentUpon>
</Compile>
</ItemGroup>
After that - project was reloaded.
In Solution Explorer remain a reference to *.aspx.designer.cs file.
After second unload/reload there was correct file reference.
Sincerely, Highly skilled coding monkey.
Continue reading...
Today problem.
I have a several projects in one solution.
One of the projects is web-site. Project type is :
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
Pages are mixed - VB and C#.
New pages are added from another (production) server - there just IIS running. Pages came without *.aspx.designers.vb file.
I do add a *.aspx.designer.vb into the folder, but as reference to the file put a reference to *.aspx.designer.cs.
Error was found, project unloaded and corrected.
<ItemGroup>
<Content Include="productionCheck.aspx" />
<Content Include="productionCheck.aspx.vb">
<DependentUpon>productionCheck.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Content>
<Compile Include="productionCheck.aspx.designer.vb">
<DependentUpon>productionCheck.aspx</DependentUpon>
</Compile>
</ItemGroup>
After that - project was reloaded.
In Solution Explorer remain a reference to *.aspx.designer.cs file.
After second unload/reload there was correct file reference.
Sincerely, Highly skilled coding monkey.
Continue reading...