I got this error:
Error 1 Unable to open module file 'D:\business\shared\Dropbox\badgers\vb\vb.net\My Project\Application.Designer.vb': The system cannot find the path specified. D:\business\shared\Dropbox\badgers\vb\vb.net\My Project\Application.Designer.vb 1 1 traverseweb4
Application.designer.vb is a generated file. I simply deleted that. How do I get that regenerated?
If I open the .vbproj file directly with notepad ++ I saw:
<Compile Include="My Project\Application.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Application.myapp</DependentUpon>
</Compile>
So it clearly is autogenerated, so why vb.net blame me for not having that stupid file?
By the way removing those stupid lines in notepad ++ works. Now things work perfectly. But this pissed me off a lot.
Anyone can explain why it happen in the first place? Why hacking into a .vbproj file is necessary to get this fixed?
When I've had problems like this in the past I usually clean the project (right click solution - clean) and then rebuild from the same menu - which usually fixes errors like this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With