Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Wednesday, December 16, 2009 8:30 AM
Hello,
i got the error MSB4067.
The error says:
The element <Configuration>Beneath element <Propertygroup> isn't unrecognized.
Who can help me!
Friday, December 18, 2009 3:37 AM ✅Answered
Hello, Powerfox
The error is caused by you have put the <PropertyGroup> into the <Target Name="Build"></Target> element. Please remove the element, you don't need to override the Build Target in defined in the Microsoft.Csharp.Target.
Thanks
Chao
Wednesday, December 16, 2009 9:07 AM
can you post your xmlVisual Studio ALM MVP
My Blog | MSBuild Extension Pack | MSBuild Explorer
Wednesday, December 16, 2009 11:59 AM
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="Build">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{3FF0FABD-2750-499C-91CF-3A993C296065}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Holo</RootNamespace>
<AssemblyName>New Game</AssemblyName>
<TargetFrameworkVersion>v3.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ApplicationIcon>app.ico</ApplicationIcon>
<StartupObject>
</StartupObject>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.5.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</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\test\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.VisualBasic" />
<Reference Include="MySql.Data, Version=5.2.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.0</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Source\DB\Database.cs" />
<Compile Include="Source\DB\DatabaseClient.cs" />
<Compile Include="Source\DB\DatabaseException.cs" />
<Compile Include="Source\DB\DatabaseManager.cs" />
<Compile Include="Source\DB\DatabaseServer.cs" />
<Compile Include="Source\DB\IDataObject.cs" />
<Compile Include="Source\Managers\catalogueManager.cs" />
<Compile Include="Source\Managers\eventManager.cs" />
<Compile Include="Source\Managers\navigatorManager.cs" />
<Compile Include="Source\Managers\rankManager.cs" />
<Compile Include="Source\Managers\recyclerManager.cs" />
<Compile Include="Source\Managers\roomManager.cs" />
<Compile Include="Source\Managers\soundMachineManager.cs" />
<Compile Include="Source\Managers\staffManager.cs" />
<Compile Include="Source\Managers\stringManager.cs" />
<Compile Include="Source\Managers\userManager.cs" />
<Compile Include="Source\Virtual\Rooms\Bots\virtualBot.cs" />
<Compile Include="Source\Virtual\Rooms\Games\Game.cs" />
<Compile Include="Source\Virtual\Rooms\Games\gameLobby.cs" />
<Compile Include="Source\Virtual\Rooms\Games\gamePlayer.cs" />
<Compile Include="Source\Virtual\Rooms\Items\floorItem.cs" />
<Compile Include="Source\Virtual\Rooms\Pathfinding\Astar.cs" />
<Compile Include="Source\Virtual\Rooms\Pathfinding\Coord.cs" />
<Compile Include="Source\Virtual\Rooms\Pathfinding\dribbelaerPath.cs" />
<Compile Include="Source\Virtual\Rooms\Pathfinding\gamePathfinder.cs" />
<Compile Include="Source\Virtual\Rooms\Pathfinding\Heap.cs" />
<Compile Include="Source\Virtual\Rooms\Pathfinding\mapNode.cs" />
<Compile Include="Source\Virtual\Rooms\Pathfinding\Pathfinder.cs" />
<Compile Include="Source\Virtual\Rooms\Pathfinding\PinocchioPathfinder.cs" />
<Compile Include="Source\Virtual\Rooms\Pathfinding\Rotation.cs" />
<Compile Include="Source\Virtual\Rooms\Items\wallItem.cs" />
<Compile Include="Source\Virtual\Rooms\virtualRoom.cs" />
<Compile Include="Source\Socket servers\gameSocketServer.cs" />
<Compile Include="Source\Socket servers\musSocketServer.cs" />
<Compile Include="Source\Core.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Source\DB.cs" />
<Compile Include="Source\JeaxEncoding.cs" />
<Compile Include="Source\IO.cs" />
<Compile Include="Source\Console.cs" />
<Compile Include="Source\Config.cs" />
<Compile Include="Source\Virtual\Users\Messenger\virtualBuddy.cs" />
<Compile Include="Source\Virtual\Users\Messenger\virtualMessenger.cs" />
<Compile Include="Source\Virtual\Users\virtualSongEditor.cs" />
<Compile Include="Source\Virtual\Users\virtualUser.cs" />
<Compile Include="Source\Virtual\Users\virtualRoomUser.cs" />
<Compile Include="Source\Virtual\Users\virtualRoomUserStatusManager.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="app.ico" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
<Visible>False</Visible>
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
<Visible>False</Visible>
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
<Visible>False</Visible>
<ProductName>Windows Installer 3.1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Target>
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
</Project>