How does Silverlight determine an assembly is “Silverlight”?

前端 未结 2 693
-上瘾入骨i
-上瘾入骨i 2021-02-14 02:27

I\'m trying to compile code from F# to use in Silverlight. I compile with:

--noframework --cliroot \"C:\\program Files\\Microsoft Silverlight\\2.0.31005.0\" --standalon

2条回答
  •  闹比i
    闹比i (楼主)
    2021-02-14 02:59

    Visual Studio uses the IsSilverlightAssembly() function in the Microsoft.VisualStudio.Silverlight.SLUtil type to check if a reference can be set.

    David Betz has a nice blog post describing the details here.

提交回复
热议问题