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

@cyj100 Luckily, I have the same situation with you

Loongle avatar Dec 21 '15 10:12 Loongle

You can change the language here:

image

Or edit the project file, using the items described here:

https://github.com/Microsoft/TypeScript/wiki/Setting-Compiler-Options-in-MSBuild-projects

paulvanbrenk avatar Dec 21 '15 19:12 paulvanbrenk

Thank you very much. I have try to add option in project file .csproj: AMD but still get compile error. Uploading tsc-module.png…

cyj100 avatar Dec 22 '15 00:12 cyj100

Can you share the contents of the project file and the compiler error you're seeing?

paulvanbrenk avatar Dec 22 '15 01:12 paulvanbrenk

@cyj100 I have tried the solution (https://github.com/Microsoft/TypeScript/issues/4300), it works.

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

tsc-module

and the point.ts file:

/// 
import AGSPoint = require("esri/geometry/Point");
export = Point;
class Point extends AGSPoint {
  log() {
    console.log(this.type, this.x, this.y);
  }
}

cyj100 avatar Dec 22 '15 01:12 cyj100

And the project file?

paulvanbrenk avatar Dec 22 '15 01:12 paulvanbrenk

Yes, after I have installed the English package for VS, the problem is solved. @paulvanbrenk Thank you very much.

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

I change vs2015 to English version, and find the AMD option is there checked. compile it still get error. So I change the module option to CommonJS, then compile correctly. Now I change back to AMD,It's work. Maybe something wrong in my project file, but now I think the file is changed. so I don't upload it. Thanks!

cyj100 avatar Dec 22 '15 01:12 cyj100

I also have the same problem. It occurred in VS 2015 and VS 2015 Update1. using TypeScript 1.6 - 1.76. Below... vserror

My VS 2015 is used in Traditional Chinese Language. But after I change the English language... this problem is solved. Below.. vserror2

ArvinHsieh avatar Dec 23 '15 14:12 ArvinHsieh

The fix should be included in the next public TypeScript release.

mhegazy avatar Jan 07 '16 19:01 mhegazy