How to debug a WPF project that is part of a solution containing SSDT projects

Hi all,
you all surely know, that with SSDT deploying the solution against the development database is started with F5 or clicking one of the Debug buttons. One of my projects in such a solution is a simple Windows WPF-application designed to use ADO.NET
to access the database.
When setting a startup object in the WPF-projects configuration, all Debug buttons (Start Debug Target, Start Debugging, Start w/o debugging) start deploying the solution against the database. The WPF-Project is also built. If I tag the WPF-project
as "Start Project" it is started after deploying the database but not with the debugger.
Any idea what to do? BTW: I have not tested what happens if I put the WPF-project into a different solution w/o a SSDT project in it. This could be a workaround. The architecture of the solution as a organizational entity would be broken, which is not
the best idea, I'm afraid.
Regards Jörg

Hi Olaf,
thanks a lot for this hint. It is a good kind of a workaround, because I only have think of deploying the database before when changes have been made to it.
I think that the architecture of VS would trigger solution where the database is deployed with pending changes and the Start object in the 'Start Project' should be executed in the selected environment (either DEBUG or RUN). In pure .Net solutions this is
exactly implemented like this.
So is my problem a topic for Connect?
BTW: From my experience I rate all the integration of SSDT in the VS GUI at least as "Error prone": They have there one toolbars in their editor windows which duplicated functions and have redefined buttons from the main toolbars. Other toolbars
like the View-Designer are completely disabled because the editor does not support View-Design, the project's menu-item "Deploy" is enabled but has no function when clicked, etc. It is all not hard core bugs but it ties done the great functionality
of SSDT. My favorite is trying to end single stepping with the left arrow in the debug toolbar and getting immediately a fresh deploy :-((
Regards Jörg

Similar Messages

  • How to Debug a Java Project in Eclipse using Tomcat6.0

    Hi
    Can anybody help me with the following questions.
    1.How to create a java project in eclipse(I am using jsp,servlets,jsf,spring,jasper,struts).
    2.How to debug my application in Eclipse Europa by putting break points.
    3.how should i add Tomcat6.0 to my project in order to debug my application so that i can put break points while running the applications and observe the values.
    Thanks
    Bala

    You may find this tutorial useful regarding to JSF, Eclipse and Tomcat: http://balusc.blogspot.com/2008/01/jsf-tutorial-with-eclipse-and-tomcat.html
    To put breakpoints, just doubleclick on the left gray rule of the code, you'll get blue bullets at the left rule, indicating a break point. Run Tomcat in debug modus (rightclick Tomcat � debug). Use the Eclipse debug perspective to step in the code (window � open perspective � debug).

  • How to debug an application crash that only occurs within the executable and not in development?

    LabVIEW 2011
    Looking for ideas on how to debug an application that crashes only from within the executable.
    Is there anything useful that this error report can be used for, thanks in advance.
    #Date: Tue, Aug 23, 2011 3:10:18 PM
    #OSName: Windows 7 Enterprise
    #OSVers: 6.1
    #OSBuild: 7600
    #AppName: LabDAQ
    #Version: 11.0 32-bit
    #AppKind: AppLib
    #AppModDate: 08/23/2011 18:59 GMT
    #LabVIEW Base Address: 0x30000000
    8/23/2011 3:10:48.331 PM
    Crash 0x0: Crash caught by NIER
    File Unknown(0) : Crash: Crash caught by NIER
    minidump id: a1c0be18-ad05-4b09-b914-afe4a3073daf
    ExceptionCode: 0xC0000005± N
    0x3072C874 - lvrt <unknown> + 0
    0x3072CC28 - lvrt <unknown> + 0
    0x7C37FDB4 - MSVCR71 <unknown> + 0
    0x77330DF7 - ntdll <unknown> + 0
    0x772F9ED5 - ntdll <unknown> + 0
    0x00000000 - <unknown> <unknown> + 0
    Solved!
    Go to Solution.

    I've been playing that game all morning
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • How do i change the printer that is in the hp solution center

    hello, i installed a hp deskjet printer all-in-one(F4180) with the hp solution center and it started having some problems so i had to start using my old printer which is a hp deskjetD1320 but the hp solution center only knows about the all-in-one printer and says it is disconnected(which it is)but how do i add the old deskjet printer to the hp solution center? also is there any type of email customer service for the hp solution center? 
    also i have windows 7 operating system, thanx, hwnugent

    Hi there hwnugent,
    Try downloading and running the print and scan doctor located here:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03275041&cc=us&dlc=en&lc=en
    It can fix a lot on its own like the solution center issue you see and if not give a better idea of what is going on.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • How to open an HTML page that is part of my project using Captivate 6

    I'm looking to create an HTML page that will use some javascript to extract information from Captivate and then render it to the browser window as a report.
    I see how you can Open a  URL webpage from Captivate (by putting in an explicit address ie www.abc.com   or http://www.abc.com/myReport.html)
    but I'm curious what address I can use if the html file is in the SAME folder at the index.html that launches the captivate project  (or perhaps one folder down)..    I'm wanting to do this so it works whether I've published the project to a webserver or not.
    I was thinking I could use a relative reference (ie  something like .\myReport.html), but I haven't had any luck thus far

    Thanks Seth.
    I just tried that, but when I run it in preview mode (by simply hitting F12), it gives me an error because it can't  find the file in the temporary preview folder it creates (ie:
    C:\Users\Tom\AppData\Local\Temp\CP2840464090993Session\CPTrustFolder2840464091009\Captivat ePreviewLoader\
    I'm hoping to find a place to put it so that it works when running F12 and when running in regular 'published' mode
    I was thinking I could put it in the 'C:\Program Files\Adobe\Adobe Captivate 6 (32 Bit)\Templates\Publish' folder, but when I do that, it doesn't seem to gete copied to the .\CaptivatePreviewLoader folder when running F12

  • How to debug a background task that takes a lot of time to execute

    My workflow consists of a background task which takes a significant amount of time to execute completely. I have executed the BO method from SWO1 and it works fine.. takes just few secs to execute.
    But when this method is executed through workflow as a background task, it takes more than 20 mins to execute.
    What can be the possible causes and how do I debug this.

    Dear Tiyasha,
    You can debug your task even if it is a back ground task.
    The process is as follows :
    The place where want to place your break point put an infinite while loop just before your actual code.Now execute your workflow , now go to sm54 there u will find your entry and from here you can go to the debugger .In the debugger make the value of the while loop to be true so that u can proceed.
    Here u will able to debug it properly.
    Regards,
    Geet

  • How to debug a function module that is written to extend a datasource

    Hi all -
    this is BW related question.
    I have a datasource that I extended but instead of writing the code in the user exit, I created a function group and a function module to populate the custom fields. My problem is  - I want to debug the function module and when I do that, I have to give datasource, infosource and update mode as input parameters.  There is no data in the internal table C_T_DATA, how can I debug to get data into this table. 
    please let me know.
    thanks,
    Sabrina.

    Keep the Break point Before Updating.
    just click on the table c_t_data .or choose the internal table and say CTRL+F4, you can internal table content
    you can find change, append ,delete options.
    just select the row and click append they one blank row will appear. just add entries to that , and enter
    the record will be appended, do in the same way if you need more records to add...
    regards
    vijay

  • My project is stuck in a loop. How can I stop it so that I can start a new project?

    My project is stuck in a loop. How can I stop it so that I can start a new project?

    use force quit - the keyboard command is      cmd alt esc

  • How can I publish a project so that the link to embedded flv is not lost?

    When publishing an Adobe Captivate 3 project, the embedded flv file does not play.
    How can I publish a project so that the link to embedded flv is not lost?

    I am not really sure, if I understand you right. But try this:
    Don’t place a picture, but draw a box and use the "Fill" command to put a picture into it.
    (Don’t click onto the color swatch, but onto the blue link "Fill".)
    In this case responsivness should work.

  • HT202853 I have many project made in move HD that are not updating to the new iMovie 10 on my new iMac.  Why is this not working as stated?  How do I get my projects back from backup after old iMac crashed?

    I have many projects made in imovie HD that are not updating to iMovie 10 on my new iMac.  Why is this not working as stated on the article HT202853?  How do I get my projects back from backup after old iMac crashed?

    According to:
    Update projects and events from previous versions of iMovie in iMovie (2014) - Apple Support
    you can update from iMovie versions 7, 8 and 9, but iMovie HD is iMovie 6.
    Maybe you can update in two steps, first from iMovie 6 to iMovie 7, 8 or 9 then to iMovie 10. 
    Geoff.

  • My friend uses firefox to email me. When I open email it seem to me that firefox blocks my Gmail. So I cannot access my gmail inbox any more. Please show me how to debug this.

    My browser is IE9. While I read my friend mails that are sent through Firefox. Suddenly I received an error message "Bad request error 400". Now I cannot access my gmail inbox anymore. I don't know what to do now. Please show me how to debug this so I can go back to my gmail because there are a ton of email in gmail inbox. Please help!!

    The following relates to inbox problems in GMail in Nov 2011, no error 400 was seen, only a blank area where the message should have been. Since two people tied into this message this week I think theirs may be a need to update Adblock Plus filters per question [https://support.mozilla.com/questions/896267 896267]

  • How can I up-rez footage that was shot in DV-widescreen into an HDV project

    We were shooting an HDV project this past week and one of the cameras we used (a Canon HV-20) was set to "DV-Widescreen" mode instead of HDV when recording. Obviously, this is a big screw up on our part, but I know the footage can still be captured in Final Cut and then "up-rezzed" for use in our HDV project to match all our other footage that was shot in HDV mode.
    The question is, what settings (or method) is the best way to do this in FCP?
    Thanks

    Good to know about the Compressor looking better. I didn't know that information.
    That said, if I do DV/NTSC it does capture it but it squashes the aspect ratio into a 4x3 frame. Because this was shot in DV "Widescreen" the original video image is 16x9. How do I import it so that doesn't happen and the 16x9 ratio is preserved?
    Actually, I just watched that video and I need to know the answer to the above question regardless. Whether I use FCP or Compressor (and obviously I'll probably use the latter) I need my initial footage to be in it's original 16x9 aspect ratio. So how do I get that when digitizing it initially?

  • How can I split a project. In iPhoto one could choose that option from the Events dropdown on the toolbar

    How can I split a project? In iPhoto I could use the Event tab in the tool bar and there was an option to split the event but I can't find it on Apeture 3.

    Hi Wayne.  Aperture and iPhoto differ in many -- perhaps all -- ways.  They were designed (afaict) with radically different users in mind.
    To move images into a new Project, select them, then execute "File→New→Project" and check "Move selected items to new project".

  • Why do I get 'ResolveManifestFiles task failed' error when building a WPF app that references WinRT API?

    0
    down vote
    favorite
    I am working on a WPF app that I want to create for Windows 8. I followed steps mentioned in
    Hansleman's blog to make some manual modifications using WinRT functions in a WPF app. Everything worked well, until I tried to publish the app. When I clicked on publishing the app I got error "The 'ResolveManifestFiles' task failed unexpectedly.
    System.ArgumentException: Value does not fall within the expected range."
    Afterwards, it will produce the same error when attempting a simple solution build.
    Even if you create a simple WPF project and add the references mentioned in blog to access WinRT functions and publish, this issue can be reproduced.
    I think it would be common scenario to call WinRT functions from WPF and someone should have done it. Is anyone aware what should be done to fix this issue?

    I am having the same problems and came across this article while researching a workaround. 
    It is surprising more people aren’t talking about this.
    Here are the steps to reproduce the problem; Using Visual Studio Express 2012 (x64) create a new VB Windows Forms Application. 
    Unload the project and edit the [ProjName].vbproj in the solution explorer. 
    Add <TargetPlatformVersion>8.0</TargetPlatformVersion> to the <PropertyGroup>. 
    Save and reload the project.  In Add Resource/Reference Manager add the Windows.minmd found under Windows/Core. 
    This WinRT/Desktop solution will run as expected.  Now try to Publish this solution. 
    It will FAIL with the following ERROR; “The ResolveManifestFiles task failed unexpectedly, Value does not fall within the expected range.” 
    Attempting to build or run the solution again now will fail with the same Error. 
    The only way to build the project now is to remove the “Enable ClickOnce security settings” option under the project properties Security settings. 
    Occasionally using this trick, the solution will build but not run. 
    When that happens jiggle around with Debug/Release Solution Configurations and the Any CPU/x64 Solution Platforms then rebuild and try the run again. 
    This fussing around will get you through development however any attempt to publish with restore the ClickOnce security setting and create the previous Error.
    The first question here is how do you publish a WinRT app for the desktop with VS2012 Express. 
    Then secondly, if that is not possible can we publish this Express solution with a 3rd party deployment tool like InstallShield Limited Edition or the WIX Toolset. 
    Neither however seems functional in a VS Express environment. 
    Then thirdly, are there ways to access hardware sensor devices from a desktop solution without resorting to the WinRT API.
    Any ideas or new research directions would be greatly appreciated.

  • Cannot create a new WPF project

    In Visual Studio 2013 pro whenever I try to create a new WPF project I receive the following messages:
    "The file MainWindow.xaml.cs could not be found within the project templates. Continuing to run, but the resulting project may not build properly."
    Then this one:
    "The file MainWindow.xaml could not be found within the project templates. Continuing to run, but the resulting project may not build properly."
    And then this one:
    "Unable to copy the file 'MainWindow.xaml' from the project template to the project. Cannot find file "C:\Users\yoav\AppData\Local\Temp\5jqynsvu.cxy\Temp\MainWindow.xaml".
    I tried resetting VS settings as described here: http://msdn.microsoft.com/en-us/library/ms247075%28v=vs.90%29.aspx
    and to reset the project templates as described here: http://msdn.microsoft.com/en-us/library/vstudio/ms247116%28v=vs.100%29.aspx
    but with no success.
    My PC is Windows 7 64bit and up until this morning everything worked fine...
    PS - I couldn't add hyperlinks or the screen shots of the error since i got a message that my account is not verified when trying to post this question.

    Thanks for Wyck's help.
    Hi yoave23,
    Actually you mean that you get this issue just when you create the default WPF project with the template, am I right?
    If so, I feel that it is your VS IDE issue.
    To make sure that it is not the add-ins issue, if you run your VS in safe mode, how about the result?
    http://msdn.microsoft.com/en-us/library/ms241278.aspx
    Or you could run it as the admin. Test it again.
    If still no help, please repair your VS from the control panel. Or you could re-install it.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Copying files from an external HD extremely slow!

    Hi everybody. Thank's to read this message. I've a MacBook Pro 13" (mid 2009) core2duo 2.26 Mhz whit 2GB ram and running Snow Leopard 10.6.2 The system runs perfect until i try to copy something from an external drive, takes a lot of time to copy it,

  • Need help in ABAP coding

    Hi Gurus, here i hav some complication for displaying data in output.In output I have to show characteristics(ysd-characteristics,,,, ysd is a customized tablehaving fields vbeln, matnr, posnr, characteristics......) of material with respect to sales

  • Proxy to file communication prerequiste

    Hi, I have a scenario where i need to communicate SAP sytem with Non-Sap system We are using Proxy to file communication. Please let me know prerequiste to develop this scenario i.e. before proceeding with the design, configuration do i need to creat

  • Open word doc 1997 using mac

    Hi there, I am a new Mac user and would appreciate some help. I can't open my word doc 1997-2004 ver using my Mac office 2008. Are there ways to get around it other than getting Mac Office 2011?

  • Sample needed to query BW cube

    I have two BW(BPC) cubes which are HANA enabled. I have heavy data processing logic currently in BADI and I am trying to push that into HANA DB layer, possibly as a SQL procedure. 1) Can someone point me to some sample/direction to achieve this 2) An