Skip to content

Conversation

@KevinRansom
Copy link
Contributor

@KevinRansom KevinRansom commented Aug 19, 2024

image

Repro:
on a clean machine:

  1. Install Visual Studio 2022.11 --- https://visualstudio.microsoft.com/downloads/
  2. Install Dotnet Sdk 7.0.410 -- https://dotnet.microsoft.com/en-us/download/dotnet/7.0
  3. Create a new F# console project
  4. Edit the project file to resemble this:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net7.0</TargetFramework>
    <FSharpPreferNetFrameworkTools>False</FSharpPreferNetFrameworkTools>
  </PropertyGroup>

  <ItemGroup>
    <Compile Include="Program.fs" />
  </ItemGroup>

</Project>
  1. Build the project and observe this error:
    image

The issue is that the buildtask emits --realsig- even though the projectfile and dependent props and targets do not mention it.
This pr fixes the issue by not emiting a value when realsig has not been specified.

There is no decent work around, other than build from the command line using dotnet build.

@KevinRansom KevinRansom requested a review from a team as a code owner August 19, 2024 22:59
@github-actions
Copy link
Contributor

✅ No release notes required

@KevinRansom KevinRansom changed the base branch from main to release/dev17.11 August 19, 2024 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants