Closed jaime-trejo closed 2 months ago
This sounds like an incorrect target framework. What is the target framework you are trying to build with?
I'm building towards .NET 4.8
Example of the beginning of the .csproj
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{626B091B-4D5E-47A3-B184-8B0B2592BF0E}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Hello</RootNamespace>
<AssemblyName>Hello</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
This doesn't look like an SDK style project. We only support SDK style projects.
Thanks! Appreciate it.
I'm getting the following error "The "IkvmReferenceItemPrepare" task was not given a value for the required parameter "ToolFramework"." after adding the following to my .csproj
I am running the project in .Net Framework 4.8
and the following since it seems I had to add one
Not sure if I'm missing something. Basically I'm starting a project from scratch to see if it works because i couldn't build successfully on a previous project of ikvm 7.
Any help will be appreciated.