2

Closed

Unable to load 39662 into VS2008

description

Hi, I used TortoiseSVN to download 39662, but then using VS2008, I can't load most of the projects (AzukiMap loads fine, but the others show an error and refuse to load). It appears the problem has something to do with embedded fonts - Here's the error message which shows up when loading the solution:
 
An <Import> of the file CUsers\jaybo\Documents\My Webs\geo\azukiMap\branch\futaba\AzukiMap\AzukiMapUl\SubsetFontSilverlight.targets” was found in the project file‘C:\Users\jaybo\Documents\My Webs\geo\azukiMap\branch\futaba\AzukiMap\AzukiMapUI\AzukiMapUI.csproj. This file is not registered as a safe file to import, and could contain targets and tasks that are harmful. If this imported file is indeed considered safe, then it can be registered by writing to the registry key HKEV_LOCAL_MAC HINE\Software\Microsoft\VisualStudio\9.O\MSBuild\Safelmports.
 
It looks like the problem might be related to:
http://jvdveen.blogspot.com/2008/11/using-source-control-with-silverlight-2.html
Closed Aug 15, 2009 at 4:00 PM by washitoshi
I updated AzukiMapUI.csproj and commit it.

comments

washitoshi wrote Aug 13, 2009 at 1:24 PM

The Problem was in AzukiMapUI.csproj like you said.
Please open it and remove the line below:

322 <Import Project="SubsetFontSilverlight.targets" />

This setting seems to come from Blend3. Even we don't use any embeded fonts.

http://silverlight.net/forums/p/112552/253679.aspx#253679

I will update the project file and commit on the next.
Thanks for the reporting.

wrote Aug 13, 2009 at 1:51 PM

jaybo_nomad wrote Aug 13, 2009 at 11:35 PM

Cool. That fixed AzukiMapUI.csproj. But I still can't load the other projects. I'm getting an error dialog that "The project AzukiMapWeb.csproj is under source control. An error occurred...". This looks like the same problem as:

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=482794&wa=wsignin1.0

I haven't seen this with any of the dozens of svn projects I enlist in, so it's not a generic problem. Any ideas?

washitoshi wrote Aug 14, 2009 at 1:14 AM

I tried checking out futaba branch 39662 by TortoiseSVN and edited AzukiMapUI.csproj, and then I could open the solution from AzukiMap.sln without any problem.

Actually, we don't use the project named "AzukiMapWeb".
Could you try to build the solution? If you can build it, set that "AzukiMapUI.Web" as the startup project and push F5. I think you can see the demo page from "AzukiMapUITestPage.html".

jaybo_nomad wrote Aug 14, 2009 at 6:47 PM

I finally got it. I deleted the tree, updated TortoiseSVN to the latest version, and downloaded the tree again just to ensure that wasn't the problem.

Turns out my version of VS2008 doesn't like the following lines in project files (Proj.NET, GeoTools4AM,...):
<SccProjectName>Svn</SccProjectName>
<SccLocalPath>Svn</SccLocalPath>
<SccAuxPath>Svn</SccAuxPath>
<SccProvider>SubversionScc</SccProvider>

washitoshi wrote Aug 15, 2009 at 3:57 PM

I see.

I'm using TortoiseSVN to checkout, after it AnkhSVN in VS2008.
I feel VS + SVN is not smooth sometimes. :(

Anyway, I could understand problems on the source control from your infomation.
Thank you.

wrote Aug 15, 2009 at 3:58 PM

wrote Aug 15, 2009 at 4:00 PM

wrote Feb 12, 2013 at 7:58 PM

wrote May 15, 2013 at 12:02 AM