I
Isolda
Guest
Hello,
I was moving files from one project to another and in the process lost the link between File1.resx and File1.Designer.cs.
The link is restored if I manually add the following tags to project file:
<Compile Include="File1.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>File1.resx</DependentUpon>
and
<EmbeddedResource Include="File1.resx">
<SubType>Designer</SubType>
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>File1.cs</LastGenOutput>
</EmbeddedResource>
But I have a lot of files. Is there a better way to re-link such files without manually updating .cproj file?
Note: I found this "Kooriyoo" add-in online that does add the <DependentUpon> tag, but it doesn't add the second set of tags.
Any advise?
Thank you.
Isolda
Continue reading...
I was moving files from one project to another and in the process lost the link between File1.resx and File1.Designer.cs.
The link is restored if I manually add the following tags to project file:
<Compile Include="File1.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>File1.resx</DependentUpon>
and
<EmbeddedResource Include="File1.resx">
<SubType>Designer</SubType>
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>File1.cs</LastGenOutput>
</EmbeddedResource>
But I have a lot of files. Is there a better way to re-link such files without manually updating .cproj file?
Note: I found this "Kooriyoo" add-in online that does add the <DependentUpon> tag, but it doesn't add the second set of tags.
Any advise?
Thank you.
Isolda
Continue reading...