Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

get System.IO.IOException in localizing VSPackage

$
0
0

Hi,

I try to localize my VSPackage for command text according to MSDN instruction:Localizing Menu Commands.  I make new VSIX project, and add ToolWindow1 by Custom Tool Window template. I changed the following filename:

    ToolWindow1Package.vsct  -->ToolWindow1Package.en-US.vsct

    VSPackage..resx --->VSPackage.en-US.resx

also added "[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]" in project.

at last I modify project file

    <EmbeddedResource Include="VSPackage.en-US.resx">
      <MergeWithCTO>true</MergeWithCTO>
      <LogicalName>VSPackage.en-US.Resources</LogicalName>
    </EmbeddedResource> 

when I debug the package, throw "System.IO.IOException" and IDE could not locate ToolWindow1Control.xaml.

I use VS2015 and targetplatform is framework 4.5.2.

Could somebody help me on it?

Regards,

Vince


everything is possible


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>