Questions tagged [.net-4.5]

Version 4.5 of the Microsoft .NET Framework. Use for questions specifically related to .NET Framework 4.5. For questions on .NET Framework generally, use the .net tag.

Reference

3775 questions
2
votes
2 answers

Am I supposed to see versions 4.5 in "Add Reference" dialog? I only see ver. 4.0 assemblies

In a Visual Studio 2012 MVC 4 project, all references I see are 4.0.0.0, not 4.5. Is that expected? This is an old machine that has had all .NET versions (and corresponding VS versions) since VS 2008. See screen grab:
G. Stoynev
  • 7,389
  • 6
  • 38
  • 49
2
votes
1 answer

C# External library using static members preventing multithreading

I am using a library that was created to perform a simulation based on input data, with a single entry point, something like Run(Data data). However unfortunately the library internally stores values as static members (I don't know why, but I can't…
Alex Hope O'Connor
  • 9,354
  • 22
  • 69
  • 112
2
votes
1 answer

SignalR An asynchronous operation error

I'm using SignalR 1.1.2 and I have problem with async hub method. Everything works fine on my PC with ForeverFrame transport but after deploying on server and switching to web sockets transport I receive following error: An asynchronous operation…
Martin Vich
  • 1,062
  • 1
  • 7
  • 22
2
votes
2 answers

Garbage tags showing up in MVC views after installing VS 2013 + .Net 4.5.1

In my ASP.Net MVC 4 application, there are several places where we are either manually rendering a view to a string or intercepting some part of the rendering pipeline. For example: public static string RenderPartialViewToString(Controller…
Doug
  • 1,018
  • 2
  • 9
  • 16
2
votes
0 answers

Exception: "Cannot locate resource 'FilePath.xaml'" when path contains square brackets and using dot net 4.5

We have a C# application with some screens written in WPF. I am trying to migrate it to dot net framework 4.5 (I need to use one of it's features). But when I run my application I am getting an exception that comes from WPF code. I have researched…
Yaniv
  • 104
  • 7
2
votes
1 answer

What's Difference Between Calling Func Differently in Where

private void MainForm_Load(object sender, EventArgs e) { Func f = funn; var list = new List(); list.Add(32); list.Add(1); list.Add(2); list.Add(3); …
levi
  • 3,451
  • 6
  • 50
  • 86
2
votes
1 answer

ODP Oracle.DataAccess was working with .NETFramework 4.5 but not with .NET Framework 4.0

In my application, i'm connecting to an Oracle DB via ODP. I was using .NET 4.5 and everything was working fine but then for Windows XP compatibility i changed framework to .NET 4.0 on all the projects on my solution. Application is built on .NET…
gesus
  • 471
  • 1
  • 10
  • 24
2
votes
1 answer

Wait for async method without blocking the thread

How can i execute the UpdateTasklist() Method after the SubmitWorkitem() Method without blocking the thread? private async void SubmitWorkitem(Workitem workitem) { await Task.Run(() => this.SubmitWorkitem(workitem)); //UpdateTasklist()…
Joel
  • 4,862
  • 7
  • 46
  • 71
2
votes
1 answer

How to enable SSL in WebSocket with System.Net.HttpListener

I'm using .Net 4.5 and HttpListener class on Windows Azure(a worker role) to make my own WebSocket server. For HTTP non-secure connections it works very well. The problem is that I need to make WebSocket connection secured with SSL(wss://). I've…
Gutemberg Ribeiro
  • 1,533
  • 1
  • 21
  • 45
2
votes
1 answer

Do not have .NET Framework 4.5 multi targeting pack in VS 2012 Ultimate

I have install microsoft vs 2012 ultimate into windows 7, but it does not include .net framework 4.5 multi targeting pack. So, where can I get the multi targeting pack and install it?
Sandra
  • 23
  • 1
  • 3
2
votes
0 answers

.NET 4.5 Memory Leak

I have a problem with an application that I wrote in .NET/C#. It consists of a server which manages a few other machines, and runs tests on them. It is a windows forms application. In order to run tests with proper error handling, for each machine I…
Cristi M
  • 446
  • 4
  • 13
2
votes
0 answers

Failed to lookup a channel to receive an incoming message. Either the endpoint or the SOAP action was not found

I am very new to WCF services. I have 1 WCF service created with NetHttpBinding and I have a Form application as a client of this service and I am trying to make a simple example of 2 way communication using this. Here is my…
Aalap
  • 2,847
  • 2
  • 26
  • 24
2
votes
1 answer

Metro App StorageFile GetThumbnailAsync Background

In a Metro App, when retrieving the Thumbnail of a StorageFile using the GetThumbnailAsync() method, the Background Color is a Dark Blue/Navy Blue. Is it possible to override this Color? I would like the Background to be Transparent.
c0D3l0g1c
  • 3,020
  • 5
  • 33
  • 71
2
votes
1 answer

Reactive (Rx) build issue with .Net 4.5 and NuGet

This has caused me quite the embaressment today. While I was demoing Rx 2.x features and capabilities, I tried to build a NuGet enabled project which I copied from another computer. Everything was downloaded correctly, the references are there! but…
2
votes
1 answer

What is the difference in HttpClient in .net 4.0 and .net 4.5

I am working on a project that is currently using an early pre-release .net 4.0 version on HttpClient in System.Web.Http namespace. We know that this version causes conflicts with .net 4.5 version. We are thinking of upgrading to Visual Studio 2012…
ncbl
  • 1,295
  • 2
  • 12
  • 19
1 2 3
99
100