Questions tagged [multitargeting]

115 questions
0
votes
0 answers

Mutltitarget without modifying csproj format

I need to do multi targeting for one of the sample application that I was working on. Here is the structure. I have an AppOne(Console App) and two class libraries(CLSOne, CLSTwo). AppOne calls CLSOne. CLSOne call CLSTwo. CLSTwo has logic that…
user2083386
  • 135
  • 3
  • 19
0
votes
1 answer

How can I manipulate the Packageversion on a multi target project when manipulation comes from a NuGet package

I have a NuGet package with a targets file which manipulates the PackageVersion depending on the current context (When the branch is master it's creates a preview). This is working well on a normal project but when I use this in a multi target…
0
votes
1 answer

Nuget package with native libraries for sdk and non-sdk project types and with supporting multitargetting (net452, netstandard20, netstandard21)

I have a NuGet package that supports 3 different TFs and should be available for consumers(apps) in Non-sdk (old csproj format) and Sdk (a new one) csproj files. My nugget also contains native libraries for Windows, Linux, and mac os. The only…
dododo
  • 3,872
  • 1
  • 14
  • 37
0
votes
0 answers

What is the target framework moniker for unity?

Recently we developed a multi-targeted .net library in which We have added the support for UWP, .NetCore, .NetStandard, Xamarion.IOS and MonoDroid by using below…
vignesh kumar
  • 2,310
  • 2
  • 25
  • 39
0
votes
1 answer

Unit test class reference issue in Objective C

I am working on multi target ios project in objective C. Some swift classes are also there by Bridging-header. There is a Unit test target for main target as Host application. I have to do unit test for another particular target [Say,…
0
votes
0 answers

Is it possible to build and test a multi target c# dotnet project in Visual Studio Code?

I've a multi target C# dotnet project with these frameworks defined in the csproj file: net451;net452;net46;net461;netstandard1.3;netstandard2.0 However when browsing the source code, I get lot of errors…
Stef Heyenrath
  • 9,335
  • 12
  • 66
  • 121
0
votes
0 answers

Cannot find type Windows.UI.Xaml.Media.XamlLight in module Windows.winmd

Building a Xamarin Forms App. UWP gives the following error Cannot find type Windows.UI.Xaml.Media.XamlLight in module Windows.winmd. When trying to use the XamlLight Class within a multi-targeted class. Visual Studio 16.2 issue with net core 3…
0
votes
1 answer

Why some reference assemblies is locked and how to remove them, in Multitarget project?

This is a multitarget project, contains .net 2.0 and 4.0 two target frameworks, here have some reference items is locked, but I'm not ref them at all in .csproj, please tell me why these dlls at here and locked, how to let them get out of here?
ahdung
  • 350
  • 3
  • 13
0
votes
1 answer

In mul titarget project, I only have available the resources of the more restritive framework?

Supose that I have a multi target project, something like that: Bugsnag Bugsnag .NET Notifier
Álvaro García
  • 18,114
  • 30
  • 102
  • 193
0
votes
0 answers

Multi-targeting project raises The target "_GetRestoreSettingsPerFramework" does not exist

I'm trying to update one of my existing C# project to the new Microsoft.NET.Sdk project structure. The solution consists of net45, netstandard1.0 and uap10.0 projects. When I run "dotnet build ValueConverters.sln" from the NuGet Package Manager…
0
votes
2 answers

Change font family dynamically throughout app

I am working on one multitarget project where it consists of two apps with each having its own branding. I have distinguished app name, app icon, and branding color of the app but now I need to switch fonts family of the app dynamically after…
Jarvis The Avenger
  • 2,750
  • 1
  • 19
  • 37
0
votes
1 answer

Conditional compilation constant not working in a .net core multitargeted sdk-style project

Here is how the conditional compilation constants were initially defined (notice multitargeting): netstandard2.0;netcoreapp2.0;net461
0
votes
1 answer

Multi targetting net461 and netstandard - netstandard dependencies required even in net461 consumer

I'm working on a class library that I've multi-targetted to both net461 and netstandard2.0 One of the dependencies of this class library is Microsoft.ApplicationInsights When it was targeting just net461, I could add a reference to…
Alex
  • 37,502
  • 51
  • 204
  • 332
0
votes
1 answer

Multi-target having dependent variables as both classification and regression?

I have two inputs as my independent variables and I want to predict 3 dependent variables based on it. My 3 dependent variables are of 2 multi-categorical classes and 1 is of continuous values. Below is my target variables. typeid_encoded,…
0
votes
0 answers

Cannot add teradata.client.provider.dll reference in vs2010

I Try to add Teradata.client.provider.dll in a project in vs2017 .net2. and compile, I recieve an error: The primary reference "Teradata.Client.Provider, Version=14.11.0.0, Culture=neutral, PublicKeyToken=76b417ee2e04956c,…
jivangilad
  • 469
  • 10
  • 21