TypeScript icon indicating copy to clipboard operation
TypeScript copied to clipboard

Microsoft.VisualStudio.LanguageServices.TypeScript.TypeScriptProjectPropertyPage.resources

Open Loongle opened this issue 10 years ago • 31 comments

Right click on the project and go to the properties. Then select “TypeScript Build” tab Tip this error

尝试加载该页时出错。 未能找到任何适合于指定的区域性或非特定区域性的资源。请确保在编译时已将“Microsoft.VisualStudio.LanguageServices.TypeScript.TypeScriptProjectPropertyPage.resources”正确嵌入或链接到程序集“Microsoft.VisualStudio.LanguageServices.TypeScript”,或者确保所有需要的附属程序集都可加载并已进行了完全签名。

Loongle avatar Dec 11 '15 07:12 Loongle

Translated:

Error trying to load the page. Could not find any suitable resource for the specified culture or a neutral culture. Please ensure at compile time will "Microsoft.VisualStudio.LanguageServices.TypeScript.TypeScriptProjectPropertyPage.resources" correctly embedded or linked assemblies "Microsoft.VisualStudio.LanguageServices.TypeScript", Or ensure that all satellite assemblies can be loaded and has been fully signed.

DanielRosenwasser avatar Dec 11 '15 17:12 DanielRosenwasser

@xielongjiang what version of TypeScript are you using?

DanielRosenwasser avatar Dec 11 '15 17:12 DanielRosenwasser

@xielongjiang and which version of VS? Can you post the image in 'Help->About'

paulvanbrenk avatar Dec 11 '15 19:12 paulvanbrenk

@DanielRosenwasser @paulvanbrenk This Error in Visual Studio 2015 update1. I using 'Typescript Tools for Microfot Visual Studio 2015 1.7.40' found this error.When it comes to this error, I try take this version relegation to the latest 1.6. But unfortunately, this makes Visual Studio unable to work properly. I thought it would be a problem with the Visual Studio 2015 update1,but the truth tells me,there are 2015 versions of this problem.

Loongle avatar Dec 12 '15 03:12 Loongle

Yes, the only version of TypeScript that works with Visual Studio 2015 Update 1 is TypeScript 1.7.

Can you try a repair of Visual Studio?

Do the rest of the TypeScript features work, like colorization in a .ts file and IntelliSense?

paulvanbrenk avatar Dec 14 '15 20:12 paulvanbrenk

@paulvanbrenk I've tried many times to repair operation, but sorry to tell you, this does not effect. I guess this is after the Visual Studio 2015 RTM has been existing problems.

Loongle avatar Dec 15 '15 01:12 Loongle

Where did you install TS 1.7.4 from?

paulvanbrenk avatar Dec 15 '15 20:12 paulvanbrenk

@paulvanbrenk http://www.typescriptlang.org/

Loongle avatar Dec 16 '15 04:12 Loongle

I have this error too. I using latest typescript and visual studio 2015 update1. I want add AMD module option, but now I can't.

cyj100 avatar Dec 16 '15 06:12 cyj100

I have the error, maybe it is caused by chinese resource file?

nova-qiang avatar Dec 16 '15 07:12 nova-qiang

Every computer here have the error. so "LanguageServices" give the clue. when or where can we find the pacth?

cyj100 avatar Dec 17 '15 00:12 cyj100

Trying to reproduce, but can you try the 1.7.6 version from here [0]. Note: this does require Visual Studio 2015 Update 1.

[0] https://www.microsoft.com/en-us/download/details.aspx?id=48593

paulvanbrenk avatar Dec 17 '15 00:12 paulvanbrenk

@paulvanbrenk thanks for your suggestion, I have updated the TypeScript addin, but the error is still not solved.

nova-qiang avatar Dec 17 '15 01:12 nova-qiang

@paulvanbrenk I try to use you to download address.but the error is still not solved.

Loongle avatar Dec 17 '15 02:12 Loongle

same problem with 1.7.6 version. maybe missing some resources?

h82258652 avatar Dec 17 '15 17:12 h82258652

I have a repro and a fix, I'll let you know when we'll be able to patch this.

paulvanbrenk avatar Dec 17 '15 21:12 paulvanbrenk

but now, what can I do if I want comile with AMD moudle? Have to wait for Typescript 1.8?

cyj100 avatar Dec 19 '15 08:12 cyj100

For now you can either create a tsconfig.json file that sets your compile options, or temporarily switch the language to English (or something else you're familiar with).

@paulvanbrenk might know another workaround.

DanielRosenwasser avatar Dec 20 '15 05:12 DanielRosenwasser

@DanielRosenwasser Could you please explain how to switch the language to English? If you mean installing an English version, yes , I have selected the English version when upgrading to 1.7.6.

nova-qiang avatar Dec 21 '15 01:12 nova-qiang

I put tsconfig.json file there, and still get the TS1148 error. I have to use command line tsc.exe to compile the project.

cyj100 avatar Dec 21 '15 10:12 cyj100