dotnet / dotnet/msbuild

Sdk attribute on project causes import to fail

Open
#1,451 7 comments 2 reactions 0 assignees View on GitHub
bug triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

Importing a project that has the Sdk attribute causes Import to fail.

**Repro:**
```xml

```
```xml

```

Run `dotnet msbuild main.proj`

**Error:**
> C:\dev\dotnet\sdk\1.0.0-preview4-004215\Sdks\Microsoft.NET.Sdk\Sdk\Sdk.targets(35,3): error MSB4102: The value "" of the "Project" attribute in element is invalid. Parameter "path" cannot have zero length. [C:\dev\proj\main.proj]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.