Unable to Strong name an Microsoft.ToolKit.Uwp.UI.Controls assembly with StrongNamer, Any alternative? - xaml

Installed Microsoft.ToolKit.Uwp.UI.Controls from nuget to use MarkDownTextBlock control in my xaml user control. But ended up with error assembly is not strongly named.
To avoid it, Installed StrongNamer from nuget but now ended up with error 'Could not load file or assembly 'System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Are there any alternatives to avoid errors from step 1 or step 2?

Related

Imageresizer Faces Plugin Error

After installing this both manually and via the package manager I continue to see this error. I was wondering if any of you have encountered this. I get this when I use the ?f.detect=true.
{"dx":0.0,"dy":0.0,"dw":800.0,"dh":510.0,"ow":800.0,"oh":510.0,"cropx":0.0,"cropy":0.0,"cropw":800.0,"croph":510.0,"features":null,"message":"Could
not load file or assembly 'OpenCvSharp, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=6adad1e807fea099' or one of its
dependencies. The located assembly's manifest definition does not
match the assembly reference. (Exception from HRESULT: 0x80131040)"}

system.design reference issue of WixSharp on .net 4

I'm trying to use WixSharp with .net 4, but I got this warning:
Warning The currently targeted framework ".NETFramework,Version=v4.0,Profile=Client" does not include "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which the referenced assembly "WixSharp, Version=1.0.39.0, Culture=neutral, PublicKeyToken=3775edd25acc43c2, processorArchitecture=MSIL" depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.
I checked that System.Design is not referenced. When I tried to add reference to it, it's actually grayed out in add reference dialog.
As a result, just as the warning says, WixSharp is not resolved, and all namespaces in WixSharp has a missing of reference error.
How should I fix this? compile WixSharp from source?
Fei

IlMerge in VSTO project results in FindRibbons error

I created a fresh VSTO project .NET 4.5.1 (Outlook) and setup IlMerge using the tutorial here.
After the failure I looked in the bin/debug and OutlookAddIn8.dll is there so I'm not sure how it's having a problem finding it. Is there something specific I need to do for VSTO projects?
Error 1 The "FindRibbons" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'OutlookAddIn8, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
or one of its dependencies. The system cannot find the file specified.
File name: 'OutlookAddIn8, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Azure - Bitbucket deployment failure

I have an asp.net mvc 4 website using continous deployment through Bitbucket on Windows Azure.
I needed to change the account (as it was a test at first), and redeployed using the bitbucket / Azure deployment feature.
But it failed unfortunately :(, it seems "HttpConfiguration" could not be found :O :
Here are the logs of the deployment :
C:\DWASFiles\Sites\mlcpending\VirtualDirectory0\site\deployments\tools\deploy.cmd
Handling .NET Web Application deployment.
D:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [C:\DWASFiles\Sites\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.csproj]
D:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [C:\DWASFiles\Sites\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.csproj]
D:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [C:\DWASFiles\Sites\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.csproj]
App_Start\WebApiConfig.cs(10,37): error CS0246: The type or namespace name 'HttpConfiguration' could not be found (are you missing a using directive or an assembly reference?) [C:\DWASFiles\Sites\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.csproj]
An error has occurred during web site deployment.
Handling .NET Web Application deployment.
D:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Net.Http.Formatting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [C:\DWASFiles\Sites\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.csproj]
D:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [C:\DWASFiles\Sites\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.csproj]
D:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Web.Http.WebHost, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [C:\DWASFiles\Sites\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.csproj]
App_Start\WebApiConfig.cs(10,37): error CS0246: The type or namespace name 'HttpConfiguration' could not be found (are you missing a using directive or an assembly reference?) [C:\DWASFiles\Sites\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.csproj]
An error has occurred during web site deployment.
D:\kuduservice\wwwroot\bin\scripts\starter.cmd C:\DWASFiles\Sites\mlcpending\VirtualDirectory0\site\deployments\tools\deploy.cmd
Anyone having these issues too ?
It looks like your solution may not have NuGet enabled. Try right clicking on your solution in VS to enable that, commit the change and then push again.
But I doubt this is related to changing the Bitbucket account.

Where could I get mono's TPL.Dataflow?

I am working with mono-3.0.10 on a Macbook. In the mono 3.0 release note, Tpl.Dataflow is mentioned, and I also noticed that the source code of Tpl.Dataflow is there in mono's github repo master branch.
But I couldn't find it in my local mono install.
logan#Logans-MBA /Library/Frameworks/Mono.framework
{13-06-04 3:47:48} $ find . -name "*.Dataflow.*"
./Versions/3.0.10/lib/mono/4.5/System.Threading.Tasks.Dataflow.dll
logan#Logans-MBA /Library/Frameworks/Mono.framework
{13-06-04 3:59:55} $ file ./Versions/3.0.10/lib/mono/4.5/System.Threading.Tasks.Dataflow.dll
./Versions/3.0.10/lib/mono/4.5/System.Threading.Tasks.Dataflow.dll: broken symbolic link to ../gac/System.Threading.Tasks.Dataflow/4.0.0.0__b77a5c561934e089/System.Threading.Tasks.Dataflow.dll
I have tried reinstall the mono from installer, but no luck.
Then, I tried the dlls downloaded from nuget, the following errors comes:
/Users/logan/Workspace/Camp/Dragon/ClientEventHandlerDemos/DataflowBlockClientEventHandler.cs(11,13): error CS0012: The type `System.Object' is defined in an assembly that is not referenced. Consider adding a reference to assembly `System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
/Users/logan/Workspace/Camp/Dragon/ClientEventHandlerDemos/DataflowBlockClientEventHandler.cs(11,34): error CS0012: The type `System.Action`1<TInput>' is defined in an assembly that is not referenced. Consider adding a reference to assembly `System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
There are 3 editions from nuget, net45, netcore45 and portable-net45. I tried them all, but still no luck.
So, where could I find the right update to date Tpl.Dataflow works with mono?