A problem changing to .Net 4.0

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/21/2010 5:30:33 PM
Gravatar
Total Posts 125

A problem changing to .Net 4.0

I use the latest mojo code with .Net 4.0 and it can build sucessfully. Then I changed my customized project to .net 4.0 framework and it show following error message when I compile.

Error 23 Task could not find "AL.exe" using the SdkToolsPath "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed Matasoft.UI
 

 

Did I miss a file or the SDK, Why mojo code doesn't need this?

 

Thanks

5/22/2010 5:50:02 AM
Gravatar
Total Posts 18444

Re: A problem changing to .Net 4.0

Hi Wei Li,

That is a strange error, I've never encountered it myself. When I google this error I find only 2 things.

http://forums.asp.net/p/1555911/3825438.aspx

and

http://geekswithblogs.net/Ahmed_Hussein_blog/archive/2009/04/25/al.exe.aspx

the second link seems to be about VS 2008 but a very similar error.

Possibly there is something about a resource file in your project that it doesn't like.

Things I would try:

  • reboot if you have not already
  • if there are any other projects in your solution that depend on the project you changed to 4.0 make sure you also change the dependent project to 4.0
  • review the naming of your resource files
  • review all references under the references node in your project
  • try removing and re-adding each reference

Hope it helps,

Joe

5/22/2010 11:32:43 AM
Gravatar
Total Posts 125

Re: A problem changing to .Net 4.0

Hi, Joe

Thanks for help.

I removed some filename.zh-CN.resx files in my project and it can build successfully. Then I add the resouce file one by one and try to figure out which one causes the problem. Until I add all the resouces files back, it still can build.  It seems the problem just be solved by removing and adding resouces files.

Very stange but it works.

thanks

You must sign in to post in the forums. This thread is closed to new posts.