3

我想实现一些捏和缩放,我需要包含sdkImages.Resources. 编译器说:

错误 2 找不到类型或命名空间名称“sdkImages”(您是否缺少 using 指令或程序集引用?)

我有参考资料:

Windows Phone 和用于 Windows Phone 的 .NET。

我从 Windows Phone Dec Center 下载了一个示例,没有问题...有人可以解释我应该包含或添加到我的项目中吗?

4

1 回答 1

0

Seeing your source code could help us to provide an answer.

Anyway, is your app namespace "sdkImages"? Are you trying to reference your App Resources (i.e. the auto-built "AppResources.Designer.cs" AppResources wrapper) with a different/wrong namespace?

Is there a chance you started from the "Image Recipes" example from http://www.getcodesamples.com/ and changed your app namespace (but not the Resources namespace)?

Try to rename "sdkImages.Resources" to ".Resources" and see if it can compile now.

于 2014-05-08T09:35:46.713 回答