GithubHelp home page GithubHelp logo

Comments (9)

robmen avatar robmen commented on July 20, 2024 1

Duplicate of #7932

from issues.

Praveer1981 avatar Praveer1981 commented on July 20, 2024

can somebody guide me how to move forward ?

from issues.

dcm99 avatar dcm99 commented on July 20, 2024

Hello,
There is a wip that addresses this feature. Currently you are limited to .Net Framework up to version 4.7.2.

from issues.

Praveer1981 avatar Praveer1981 commented on July 20, 2024

Hello, There is a wip that addresses this feature. Currently you are limited to .Net Framework up to version 4.7.2.

@dcm99 Thanks for the info.

from issues.

wmanning avatar wmanning commented on July 20, 2024

@Praveer1981 Why can't you revert your custom action project back to .net framework?
Do you have other projects in the solution maybe as .net 8 and you can't mix them? Trying to think of a valid reason.

Can you confirm you are using Wix 3.x?

from issues.

Praveer1981 avatar Praveer1981 commented on July 20, 2024

@Praveer1981 Why can't you revert your custom action project back to .net framework? Do you have other projects in the solution maybe as .net 8 and you can't mix them? Trying to think of a valid reason.

Can you confirm you are using Wix 3.x?

@wmanning Thanks a lot for your response. We are in the middle of moving our project from .net framework to .NET 8. We use VS2022 and using Wixtoolset 3.11 plugin. Infact I also tried using heatmap.

I am not quite sure wheter we can mix up them up. looking for your advice.

from issues.

wmanning avatar wmanning commented on July 20, 2024

If your custom action project doesn't reference anything from your .net 8 projects I don't see any reason not to mix them in the same solution. I could be missing something though.

.net uses the newer SDK-style csproj format where .net framework uses old csproj style.
https://learn.microsoft.com/en-us/dotnet/core/project-sdk/overview

I had .net framework 4.0 projects that I converted to SDK-style csproj format with no issues. This is what I had to do: https://stackoverflow.com/a/75316507/623561. I converted them before I moved to Wix 4 as Wix 4 uses the new SDK-style csproj format. I not sure if I needed to but it is much cleaner.

from issues.

Praveer1981 avatar Praveer1981 commented on July 20, 2024

@wmanning In my case, since we are upgrading all of our project to .NET 8 , my custom action project has dependency on the libraries that are built on .NET8

from issues.

dcm99 avatar dcm99 commented on July 20, 2024

A bennefit from the new SDK Style project format is that you can now very easy multitarget your projects.
You can switch <TargetFramework>net8.0-windows</TargetFramework> to <TargetFrameworks>net472;net8.0-windows</TargetFrameworks> in the csproj file from the shared dependency.
If you are using ".net 8 only" stuff in your library, things getting a bit more complicated. But if you are only using newer c# language features, setting <LangVersion>latest</LangVersion> is often enough.

from issues.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.