Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all 3509 articles
Browse latest View live

rdlc file opens in xml but not in design. Updated Visual Studio recently. Need help

$
0
0

I am working on a project and recently updated my VS from 2015 to 2017. My existing reports execute well but when I try to open the RDLC file in Visual Studio to modify, I get an XML version of it. I need to open it in Design mode to make some modifications in it. I tried right click, open with but did not find any Report Designer in there to open it. All I found is a list of XML and HTML openers. Please help me how to modify this. Either download something or do any modification.

Please help me in this.

Regards,

Deepak


How to debug store procedure when program run from visual studio 2013

$
0
0

i am using visual studio 2013 and often set break point on code when call store procedure. when we are passing data to store proc that we can debug from IDE but some time we need to debug store proc from VS IDE 2013. so please tell me way out to debug store proc from VS2013 IDE when we pass data from my program to store proc.

need step by step details. thanks

Application Insights

$
0
0

Hi,

Is there a way to disable Application Insights from getting included by default in an MVC project in Visual Studio 2017?

joe

Both VS 2015 sp3 and VS 2017 crashing when selecting item from navigation bar

$
0
0

Visual Studio 2015 AND 2017 are both crashing on one particular Web Forms solution (others are OK) when selecting an item in the navigation bar in a code behind page.

For example, I can select a button control, but then when I select the click event in the right hand drop down, VS crashes. This happens with all events in a code behind page and is not specific to buttons etc. As a note, if I open up the project file and not the solution it does the same thing, not sure if that matters.

I have tried cleaning the solution but I can't really think of much else to try. 

Again, this is only a problem with one solution, in any of the codebehind pages. 

Event viewer shows the following:

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentNullException
   at Microsoft.CodeAnalysis.Simplification.Simplifier+<ReduceAsync>d__11.MoveNext()

Exception Info: System.AggregateException
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean)
   at System.Threading.Tasks.Task.Wait(Int32, System.Threading.CancellationToken)
   at Microsoft.CodeAnalysis.Editor.VisualBasic.NavigationBar.AbstractGenerateCodeItem+VB$StateMachine_6_GetGeneratedDocumentAsync.MoveNext()

Exception Info: System.AggregateException
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean)
   at System.Threading.Tasks.Task.Wait(Int32, System.Threading.CancellationToken)
   at Microsoft.CodeAnalysis.Editor.VisualBasic.NavigationBar.VisualBasicNavigationBarItemService.GenerateCodeForItem(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Editor.VisualBasic.NavigationBar.AbstractGenerateCodeItem, Microsoft.VisualStudio.Text.Editor.ITextView, System.Threading.CancellationToken)
   at Microsoft.CodeAnalysis.Editor.VisualBasic.NavigationBar.VisualBasicNavigationBarItemService.NavigateToItem(Microsoft.CodeAnalysis.Document, Microsoft.CodeAnalysis.Editor.NavigationBarItem, Microsoft.VisualStudio.Text.Editor.ITextView, System.Threading.CancellationToken)
   at Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar.NavigationBarController.NavigateToItem(Microsoft.CodeAnalysis.Editor.NavigationBarItem, Microsoft.CodeAnalysis.Document, Microsoft.VisualStudio.Text.ITextSnapshot, Microsoft.CodeAnalysis.Editor.INavigationBarItemService, System.Threading.CancellationToken)
   at Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar.NavigationBarController.ProcessItemSelectionSynchronously(Microsoft.CodeAnalysis.Editor.NavigationBarItem, System.Threading.CancellationToken)
   at Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar.NavigationBarController+<>c__DisplayClass22_0.<OnItemSelected>b__0(Microsoft.CodeAnalysis.Editor.Host.IWaitContext)
   at Microsoft.VisualStudio.LanguageServices.Implementation.Utilities.VisualStudioWaitIndicator.Wait(System.String, System.String, Boolean, Boolean, System.Action`1<Microsoft.CodeAnalysis.Editor.Host.IWaitContext>)
   at Microsoft.CodeAnalysis.Editor.Implementation.NavigationBar.NavigationBarController.OnItemSelected(System.Object, Microsoft.CodeAnalysis.Editor.NavigationBarItemSelectedEventArgs)
   at Microsoft.VisualStudio.LanguageServices.Implementation.NavigationBar.NavigationBarClient.Microsoft.VisualStudio.TextManager.Interop.IVsDropdownBarClient.OnItemChosen(Int32, Int32)
   at Microsoft.VisualStudio.Editor.Implementation.VsDropDownBarAdapterMargin.ChooseSelected(System.Windows.Controls.ComboBox)
   at Microsoft.VisualStudio.Editor.Implementation.VsDropDownBarAdapterMargin.comboBox_PreviewMouseUp(System.Object, System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
   at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
   at System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
   at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)

Thanks in advance

Ben

can we use visual studio community edition 2017

$
0
0

we are a team of 10 and want to develop applications in visual studio 2017. I am wondering would be possible to just have community edition as opposed to professional and enterprise edition. Applications we develop are web based intranet applications used by few hundreds of clients.

Is it possible to have TFS as the source code repository for all the developers using community edition by registering individual accounts? I think organisational account is restricted to 5 users

Could anyone please suggest the differences and why cannot we go for community edition. would there be any drawbacks in the long run

why to switch to visual studio 2017 compared to 2010

$
0
0

We have got projects running in 2010, most of them are in web forms and they are all working fine. I am wondering what are the concrete reasons why someone should adopt 2017.

I have seen posts regarding how we can upgrade to latest versions but there is no clear post on why someone should definitely switch to visual studio 2017 as opposed to continuing in 2010.

I could see the major difference is with MVC where 2010 is compatible upto MVC 3 but not later versions.

IIS 7.5+ 64bit having trouble loading C++ CLR dlls

$
0
0

My team recently upgraded from VS2008 to VS2015.  Our project is a combination of C# SDK layers and C++ core libraries that work in mixed mode CLR and direct unmanaged references/pinvoke.

VS2015 compilations for desktop executables work just fine with managed and unmanaged versions across multiple environments.  However, when we use the same .NET drivers and C++ libraries in IIS/bin the web server is unable to load any C++ dll that is compiled with CLR.  This is within VS2015 and outside of it on both our development and production box.  We can set any C++ driver into managed CLR and we see the failed result:

Error Could not load file or assembly 'ConfigAuth.DLL' or one of its dependencies. The specified module could not be found.

The file is clearly found, the PATH variable triple checked.  We've run process monitors to find the dll file loading issue and can't seem to find anything that gives a clue as to what is missing.  We've had issues in the past with missing redistributable packages and have read that some combinations fail.  We've uninstalled and reinstalled these packages, but maybe we are doing it in the wrong sequence/combination?

Development Box / Configuration:

Windows 7, 64bit environment

The following VS C++ Redistributable Packages are installed on the box: 2012,2013,2015 (both x86/64 for each)

SxS merge modules for 2012-2015 are installed

All files compile to Win32/x86 platform

.NET 4.5 is used to compile the ASP.NET WCF Service build as well as all C# managed dlls

.NET 4.0 is the mscorlib used to compile the C++ CLR 

IIS 7.5+ 64bit having trouble loading C++ libraries compiled using 2015 toolkit on VS2015.

IIS app pool supports 32 bit assemblies

IIS app pool has all directory and windows access rights set to access the file

PATH variable has been set and tested against other files that load just fine as non CLR

VS Enterprise 2017 Installation stuck at installing Microsoft.VisualStudio.WebDeploy.Msi

$
0
0

I used to install Visual Studio 2017(vs_enterprise__749492733.1501658207), while install process I got below error.
Package 'Microsoft.VisualStudio.WebDeploy.Msi,version=15.0.26711.1,chip=x64' failed to install.

Applying Microsoft.VisualStudio.WebDeploy.Msi

Note:

    My System Configuration: Windows 7, 8gb rab

What i have to do to resolve this issues.

Log File:

Something went wrong with the install.

You can troubleshoot the package failures by:

1. Search for solutions using the search URL below for each package failure
2. Modify your selections for the affected workloads or components and then retry the installation
3. Remove the product from your machine and then install again

If the issue has already been reported on the Developer Community, you can find solutions or workarounds there. If the issue has not been reported, we encourage you to create a new issue so that other developers will be able to find solutions or workarounds. You can create a new issue from within the Visual Studio Installer in the upper-right hand corner using the "Provide feedback" button.

================================================================================

Package 'Microsoft.VisualStudio.WebDeploy.Msi,version=15.0.26711.1,chip=x64' failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.WebDeploy.Msi;PackageAction=Install;ReturnCode=30001
Details
MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.WebDeploy.Msi,version=15.0.26711.1,chip=x64\webdeploy_x64.msi, Properties: REBOOT=ReallySuppress
Return code: 30001
Return code details: Setup failed to detect shared configuration.
Log
C:\Users\jai\AppData\Local\Temp\dd_setup_20170908113647_001_Microsoft.VisualStudio.WebDeploy.Msi.log
Impacted workloads
.NET Core cross-platform development (Microsoft.VisualStudio.Workload.NetCoreTools,version=15.0.26720.2)
.NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.26606.0)
ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26724.1)
Impacted components
ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.0.26606.0)
ASP.NET and web development tools (Microsoft.VisualStudio.ComponentGroup.Web,version=15.0.26606.0)
Azure Cloud Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,version=15.0.26208.0)
Cloud Explorer (Microsoft.VisualStudio.Component.CloudExplorer,version=15.0.26711.1)
Web Deploy (Microsoft.VisualStudio.Component.WebDeploy,version=15.0.26208.0)
Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,version=15.0.26606.0)

Thanks


Debugging - breakpoints not being hit

$
0
0

Im having problems with running my application in debug mode. It doesn't hit my code at all, none of my breakpoints get hit...

Its set to run in Debug and the web.config has the correct debug setting as true

The application is using IIS to run and when i run in debug mode i see a process - w3wp.exe - in the dropdown

there are no other options in this dropdown.

however if i choose debug > attach to process, i see 2 w3wp.exe processes , one is greyed out, the one showing in the dropdown, if i attach to the other process and refresh the web page, it doesn't load, just stays loading with nothing happening as regards breakpoints being hit and i eventually have to close down the page.

Tried restarting app pools, site in IIS, removing temporary files but nothing seems to be working...

Also in IE i keep getting a just-in-time debugger popup asking if i want to connect to a new debugger instance in VS 2010, 2012 or 2017... i dont get this prompt in Chrome it just seems to hang and do nothing....

Any ideas as to why debugging is not working properly?

How to online TFS unbing to bind with online project

$
0
0

suppose some how my project is not bind any more to my project with online tfs. so tell me how could i bind the same project again with TFS. thanks

Visual Studio 2015 - Bower always uses force-latest version.

$
0
0

Bower seems to be pulling down the wrong version.  I believe this is due to the integration always adding--force-latest to Bower.cmd.  Below are the Steps to Reproduce as well as the console output from Bower/npm.

I do not see where I can alter this behavior in Tools - Options.

Does anyone know of a resolution for this or have I missed something?

Steps to Reproduce

  • Using Microsoft Visual Studio Community 2015, Version 14.0.25421.03 Update 3.
  • Create a New Project.
  • Select Visual C# - .NET Code - ASP.NET Core Web Application
  • Select Web Application
  • Open Solution Explorer and note that the jQuery version is 2.2.0.  Manually opening the file and inspecting the header shows this version as well.
  • Select Dependencies - Bower - right click and select Manager Bower Packages.
  • On the Installed tab, select jquery.  In the right pane, select version 2.2.3 and click Update.Notice that in Dependencies - Bower, jquery now shows 3.1.0 instead of 2.2.3.  Manually open the jquery.js file also shows it is indeed the wrong version - Query JavaScript Library v3.1.0.
     

Console Output

"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\Bower.cmd" install jquery#2.2.3 --force-latest --save
bower jquery#2.2.3              cached https://github.com/jquery/jquery-dist.git#2.2.3
bower jquery#2.2.3            validate 2.2.3 against https://github.com/jquery/jquery-dist.git#2.2.3
bower jquery#>=1.8              cached https://github.com/jquery/jquery-dist.git#3.1.0
bower jquery#>=1.8            validate 3.1.0 against https://github.com/jquery/jquery-dist.git#>=1.8
bower jquery#1.9.1 - 2          cached https://github.com/jquery/jquery-dist.git#2.2.4
bower jquery#1.9.1 - 2        validate 2.2.4 against https://github.com/jquery/jquery-dist.git#1.9.1 - 2
bower jquery#>= 1.7.2           cached https://github.com/jquery/jquery-dist.git#3.1.0
bower jquery#>= 1.7.2         validate 3.1.0 against https://github.com/jquery/jquery-dist.git#>= 1.7.2
Please note that,
    asp.net depends on jquery#2.2.0 which resolved to jquery#2.2.0
    none depends on jquery#2.2.3 which resolved to jquery#2.2.3
    bootstrap#3.3.6 depends on jquery#1.9.1 - 2 which resolved to jquery#2.2.4
    jquery-validation-unobtrusive#3.2.6 depends on jquery#>=1.8 which resolved to jquery#3.1.0
    jquery-validation#1.14.0 depends on jquery#>= 1.7.2 which resolved to jquery#3.1.0
Resort to using jquery# which resolved to jquery#3.1.0
Code incompatibilities may occur.
bower jquery                resolution Saved jquery#>= 1.7.2 as resolution
bower jquery#>= 1.7.2          install jquery#3.1.0
jquery#3.1.0 wwwroot\lib\jquery

Visual studio for Mac

$
0
0

is there a reason why the visual studio for Mac takes a life for loading the project (7-10min), restoring packages (3-5 min) and around 15-20 min to build and start the app???? I have Mac OS and I also run a VM on it (Parallels) which has VS 2017 installed on it. the project on the VM does not take that much time compared to Mac OS, yet its not running smooth too though!!!

I deleted the Vs folder to force a new clean build but yet I do see any improvements.

I m running the project on Macbook Pro (3.1 CPU and 16 GB RAM)

Any ideas????

How to setup jamine with VS IDE to unit test js code

$
0
0

please share good article link which discuss all the steps in details to setup jamine with VS IDE to unit test js code

migrate to vs community 2017

$
0
0

installed vs community 2017, trying to migrate a vs2008 website, create the project in 2017, bring in vs 2008 files by add existing items, rebuild ok, but when try to debug get the following message about can't run some dll. there is a whole bunch of new stuff in a .../bin/roslyn folder including the new dll which is completely new from anything in 2008, this is not anything of my doing, some bug in vs2017?

I would post the pic of the error message, a jpg I saved but there's no way to just attach/upload an image in this forum? without the image being somewhere on the web? with its own url? 

Add codemaid into VS2017


bin Directory in Project Won't Delete After First Build

$
0
0

I just finished upgrading NuGet packages in a large solution I am working on.  The project itself built fine and ran.  However, when I went to run the project a second time it gave several errors on build: (the ... is the path to the project)

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(4825,5): warning MSB3061: Unable to delete file "...\bin\roslyn\Microsoft.DiaSymReader.Native.amd64.dll". Access to the path '...\bin\roslyn\Microsoft.DiaSymReader.Native.amd64.dll' is denied.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(4825,5): warning MSB3061: Unable to delete file "...\bin\roslyn\System.Diagnostics.FileVersionInfo.dll". Access to the path '...\bin\roslyn\System.Diagnostics.FileVersionInfo.dll' is denied.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(4825,5): warning MSB3061: Unable to delete file "...\bin\roslyn\System.IO.Compression.dll". Access to the path '...\bin\roslyn\System.IO.Compression.dll' is denied.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(4825,5): warning MSB3061: Unable to delete file "...\bin\roslyn\System.IO.FileSystem.Primitives.dll". Access to the path '...\bin\roslyn\System.IO.FileSystem.Primitives.dll' is denied.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(4825,5): warning MSB3061: Unable to delete file "...\bin\roslyn\System.Security.Cryptography.Primitives.dll". Access to the path '...\bin\roslyn\System.Security.Cryptography.Primitives.dll' is denied.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(4825,5): warning MSB3061: Unable to delete file "...\bin\roslyn\System.Text.Encoding.CodePages.dll". Access to the path '...\bin\roslyn\System.Text.Encoding.CodePages.dll' is denied.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(4825,5): warning MSB3061: Unable to delete file "...\bin\roslyn\System.Xml.ReaderWriter.dll". Access to the path '...\bin\roslyn\System.Xml.ReaderWriter.dll' is denied.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(4825,5): warning MSB3061: Unable to delete file "...\bin\roslyn\System.Xml.XPath.XDocument.dll". Access to the path '...\bin\roslyn\System.Xml.XPath.XDocument.dll' is denied.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(4825,5): warning MSB3061: Unable to delete file "...\bin\roslyn\VBCSCompiler.exe". Access to the path '...\bin\roslyn\VBCSCompiler.exe' is denied.

Here is my current setup:

Microsoft Visual Studio 2017 Professional (15.2 r26430.14)

Windows 10

Chrome and IE11

What I know is that it does not matter if I debug using Chrome vs. IE11.  The issues is corrected when I open the task manager and kill the VBCSCompiler.exe.  I get the errors on solution "clean".  Anyone know what this executable does or what could be triggering it?

VS2017 asks for old Microsoft.Web.Publishing.Tasks.dll

$
0
0

I just installed VS2017 and when trying to build it asks for an older version of this DLL. 

The "TransformXml" task could not be loaded from the assembly D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.Tasks.dll. Could not load file or assembly 'file:///D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.Tasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. Mediacreator.Core D:\Source\MediaCreator\MC.NET\Main\Mediacreator.Core\Mediacreator.Core.csproj 2989

How can I solve this?

Following Model Casuing Scaffolding to crash

$
0
0

For some reason the following model is causing the scaffolding templates to crash it is not giving me an error just the visual studio 2017 dialog stooped responding and then crashes out.

It produces no errors and I checked the event log couldnt see anything linking to scafollding

Also are their any scaffolding templates that output Bootstrap comp table forms ?.

 public class basketheader

{
    [Key]
    public int id { get; set; }
    public int orderId { get; set; }
    public string title { get; set; }
    public string description { get; set; }
    public string emailBasket { get; set; }
    public decimal basketTotal { get; set; }
    public int currency { get; set; }
    public bool isDeleted { get; set; }
    public bool isActive { get; set; }
    public DateTime createDated { get; set; }
    public bool isSaved { get; set; }
    public string notes { get; set; }
    public int basketSessionId { get; set; }

    public string EnteredBy { get; set; }
    public BasketStatus BasketStatusSetting { get; set; }
    public enum BasketStatus
    {
        Basket=0,
        Order = 1,
        Abandon=2,
        FailedPayment=3,
        Discarded=4
    }
}
 

Not able to track the changing value of a parameter

$
0
0

I am using Visual Studio professional VS 2012. When my application runs, somewhere, somehow a certain boolean variable is being changed from true to false. I have set breakpoints everywhere the variable is assigned a value. The break points for the variable are not being hit though when the value changes?  I also placed a quick watch on the variable to show me when the assigned value changes, however it only shows the first time the value changes and nothing after that? I am a little lost in regards to the strategy to debug this, if my watch window is not working and my breakpoints are not getting hit, The boolean value in question is a public member of a class, and is referenced by a class object. It is not static.I am stuck, Can someone good at debugging using Visual studio help me out here?

project .net framework version and compile/publish

$
0
0

I have the project compile set to use 4.7.1, however I put code in  to show .net framework, Response.Write("Version: " + System.Environment.Version.ToString()), and when running program in debugger it shows "Version: 4.0.30319.42000" why the discrepency?

I need the program to be running at least 4.6.2 for some TLS features I need

also I published project to my local IIS, when I run the program there, evidently the response.write code is not in that published version, because the output doesn't show on the page as it does in the page rendered by the debugger?

also the file system program dates in the published IIS directory don't make sense at all.  the program modified date is older than the create date? and neither date reflects the most recent compile date for the publish date.

what is going on here?

Viewing all 3509 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>