Hi. Im trying to get up to speed with Netduino plus.
When i try to create a plus project (NetduinoPlusApplication7 is latest try)
Project directory is C:\<main dev root>\Netduino\Dev\
I get
The project file
"C:\Users\<name>\AppData\Local\Temp\zezhvybe.zeb\Temp\NetduinoPlusApplication7.csproj" cannot be opened
The project type is not supported by this installation
C:\Users\<name>\AppData\Local\Temp\zezhvybe.zeb is empty
Searching the computer for NetduinoPlusApplication7.csproj finds nothing.
Interesting, that Temp\..\Temp path...
When i try to open BlinkingLed.sln, i get
One or more projects in the solution were not loaded correctly.
Please see the Output Window for details.
C:\<main dev root>\Netduino\Projects\BlinkingLed\BlinkingLed\BlinkingLed.csproj : error
: The project file 'C:\<main dev root>\Netduino\Projects\BlinkingLed\BlinkingLed\BlinkingLed.csproj'
cannot be opened.
----- BlinkingLed.sln --------------------------------------------
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C# Express 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlinkingLed", "BlinkingLed\BlinkingLed.csproj", "{F61364A5-B5D5-4FD4-98A7-64BF4C898FBF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F61364A5-B5D5-4FD4-98A7-64BF4C898FBF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F61364A5-B5D5-4FD4-98A7-64BF4C898FBF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F61364A5-B5D5-4FD4-98A7-64BF4C898FBF}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{F61364A5-B5D5-4FD4-98A7-64BF4C898FBF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F61364A5-B5D5-4FD4-98A7-64BF4C898FBF}.Release|Any CPU.Build.0 = Release|Any CPU
{F61364A5-B5D5-4FD4-98A7-64BF4C898FBF}.Release|Any CPU.Deploy.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
----- BlinkingLed.csproj -----------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.micro.../msbuild/2003">
<PropertyGroup>
<AssemblyName>BlinkingLed</AssemblyName>
<OutputType>Exe</OutputType>
<RootNamespace>BlinkingLed</RootNamespace>
<ProjectTypeGuids>{b69e3092-b931-443c-abe7-7e7b65f2a37f};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{F61364A5-B5D5-4FD4-98A7-64BF4C898FBF}</ProjectGuid>
<TargetFrameworkVersion>v4.1</TargetFrameworkVersion>
<NetMfTargetsBaseDir Condition="'$(NetMfTargetsBaseDir)'==''">$(MSBuildExtensionsPath32)\Microsoft\.NET Micro Framework\</NetMfTargetsBaseDir>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<Import Project="$(NetMfTargetsBaseDir)$(TargetFrameworkVersion)\CSharp.Targets" />
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="BlinkingLed.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="Microsoft.SPOT.Hardware" />
<Reference Include="Microsoft.SPOT.Native" />
<Reference Include="Microsoft.SPOT.Net" />
<Reference Include="SecretLabs.NETMF.Hardware" />
<Reference Include="SecretLabs.NETMF.Hardware.NetduinoPlus" />
<Reference Include="System" />
</ItemGroup>
</Project>
------------------------------------------------------------------
My suspicion is that there are reference problems, e.g. NetMfTargetsBaseDir not defined
The environment:
Windows 7 64 bit
VS2010 pro SP1rel
C:\Users\<name>\Documents\Visual Studio 2010\Templates\ProjectTemplates\Visual C#\Micro Framework
has app, mini and plus
Im using
VS2010 as admin, Micro framework 4.1 QFE1
reinstalled 3 times
Netduino SDK (netduinosdk_64bit.exe downloaded 1/8/12, size 1762kb)
reinstalled 3 times
Any help would be appreciated
RSM
Missing csproj
Started by
rsm
, Jan 09 2012 02:55 PM
3 replies to this topic
#1
Posted 09 January 2012 - 02:55 PM
#2
Posted 09 January 2012 - 06:44 PM
Issue solved. The problem was .NET Micro Framework. Uninstalled, then downloaded and installed from
http://www.netduino....rameworkSDK.msi
Now I can open projects.
The clue was that the former install was at c:\Microsoft .NET Micro Framework and was missing e.g. tools etc.
The new one is at c:\Program Files (x86)\Microsoft .NET Micro Framework
- JDT likes this
#3
Posted 10 January 2012 - 02:14 AM
Hi rsm,
Thanks for the update. Glad it's working for you now.
Welcome to the Netduino community,
Chris
#4
Posted 29 February 2012 - 03:11 PM
Issue solved. The problem was .NET Micro Framework. Uninstalled, then downloaded and installed from
http://www.netduino....rameworkSDK.msi
Now I can open projects.
The clue was that the former install was at c:\Microsoft .NET Micro Framework and was missing e.g. tools etc.
The new one is at c:\Program Files (x86)\Microsoft .NET Micro Framework
This did it for me ! Thank you for posting the solution otherwise I would have been stuck.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users