Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ItemGroup 'Folder' missing #2

Open
dnperfors opened this issue Jun 4, 2018 · 1 comment
Open

ItemGroup 'Folder' missing #2

dnperfors opened this issue Jun 4, 2018 · 1 comment

Comments

@dnperfors
Copy link

Given the following project file, I get a "The given key was not present in the dictionary." exception when I ask for the Contents of an ItemGroup:

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <ProjectGuid>{E90B1572-820F-4581-9351-DB36703E6846}</ProjectGuid>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>Test</RootNamespace>
    <AssemblyName>Test</AssemblyName>
  </PropertyGroup>
  <ItemGroup>
    <Folder Include="Properties\" />
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
@dnperfors
Copy link
Author

Actually, that is not the correct exception I get... The exception was that the constructor of ItemGroupContent couldn't be found...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant